home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
graphics
/
drform31.arj
/
PRINT.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-03-01
|
392b
|
24 lines
@ECHO OFF
ECHO.
IF NOT %1.==. GOTO good1
ECHO You did not specify a filename
ECHO Type PRINT (filename) For example:
ECHO.
ECHO PRINT MANUAL.DOC or PRINT README.DOC
ECHO.
GOTO end
:good1
IF EXIST %1 GOTO good2
ECHO %1 was not found
GOTO end
:good2
ECHO .... Printing %1 ....
COPY %1 LPT1 > nul
ECHO.
ECHO Printing Finished
:end
ECHO.